<script setup lang="ts">

import axios from "axios";
import {ref} from "vue";
import {findByUserId, getBusinessByBusinessId} from "../network/api.ts";

let url = "http://localhost:12000/UserController/findByUserId/"
let userId = ref("12345671111")
// axios.get(url.concat(userId.value),
//     {
//       params:{
//         "token":"ssa"
//       }
//     }
// ).then(res=>{
//   console.log(res.data)
// })

findByUserId(userId.value).then(res=>{
  // console.log(res.data)
})

getBusinessByBusinessId(10001).then(res=>{
  console.log(res.data)
})
</script>

<template>

</template>

<style scoped>

</style>